$color-danger: #d33140;
.product-page {
  min-height: 100vh;
  background-color: #f4f4f4;
}

.swiper-product {
  height: calc(100vh - 286px);
  Image {
    width: 100%;
    height: 100%;
  }
}

.mall-detail-block {
  padding: 30px 20px 0;
  background-color: #ffffff;
  text-align: center;
  .price {
    .strong {
      font-size: 40px;
      color: $color-danger;
      margin-right: 10px;
    }

    .span {
      font-size: 22px;
      color: #838383;
      text-decoration: line-through;
    }
  }

  .h1 {
    font-size: 36px;
    color: #353535;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .disc-flex {
    display: flex;
    color: #838383;
    font-size: 22px;

    .flex-item {
      flex: 1;

      &:nth-child(2) {
        text-align: center;
      }

      &:last-child {
        text-align: right;
      }
    }
  }
}

.detail-panel {
  margin-top: 20px;
  background-color: #ffffff;
  padding-bottom: 100px;

  .detail-panel-header {
    padding: 40px;
    font-size: 30px;
    color: #212121;
    text-align: center;

    strong {
      font-weight: normal;
    }
  }

  .detail-panel-body {
    padding: 0 20px 20px;
    font-size: 28px;
    color: #333333;
    min-height: 132px;

    img {
      display: block;
    }
  }
}
.fixed-btns{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 890;
}
.fixed-btns, .bottom-btns {
  width: 100%;
  display: flex;
  background-color: #fff;
  //box-shadow: 0 0 6px rgba(51, 51, 51, 0.1);
  justify-content: center;
  .nav-btn {
    position: relative;
    flex: 1;
    height: 100px;
    color: #212121;
    text-align: center;
    padding-top: 15px;
    box-sizing: border-box;

    &:active {
      background-color: #f9f9f9;
    }

    .count {
      position: absolute;
      left: 50%;
      top: 4px;
      margin-left: 4px;
      font-size: 20px;
      background-color: $color-danger;
      color: #ffffff;
      line-height: 1;
      padding: 5px 10px;
      font-weight: normal;
      border-radius: 20px;
    }

    AtIcon {
      line-height: 1;
    }

    Text {
      display: block;
      font-size: 24px;
      line-height: 1;
      margin-top: 4px;
    }
  }

  .fixed-btn {
    //flex: 1;
    min-width: 235px;
    text-align: center;
    width: 200px;
    height: 140px;
    line-height: 120px;
    font-size: 28px;
    //background-color: $color-danger;
    color: #ffffff;
    background: url(http://www.51yuanliang.com/images/miniapp/add-btn.png) center no-repeat;
    background-size: 200px;
    &:active {
      opacity: .8;
    }

    & + .fixed-btn {
      position: relative;

      &:before {
        position: absolute;
        content: '';
        width: 1px;
        left: 0;
        bottom: 0;
        height: 100%;
        background-color: #fff;
        transform: scale(0.5, 1);
        transform-origin: center bottom;
      }
    }
  }
}


.model-drop {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .5;
  z-index: 1;
}


.cart-model {
  //position: fixed;
  //bottom: 0;
  //left: 0;
  width: 100%;
  background: #fff;
  z-index: 2;
}

.pro-media {
  display: flex;
  align-items: flex-end;
  padding: 30px;
  border-bottom: 1Px solid #eee;

  .pro-media-hd {
    position: relative;
    border: 1Px solid #eee;
    background-color: #eee;
    width: 196px;
    height: 196px;
    border-radius: 6px;
    margin-right: 20px;
  }

  .pro-media-bd {
    .price {
      font-size: 32px;
      color: $color-danger;
    }

    .checked {
      color: #999999;
      font-size: 28px;
    }
  }
}

.cart-panel {
  padding: 0 30px 20px;
  font-size: 28px;
  .cart-panel-header {
    padding: 16px 0;
  }

  .cart-panel-body {
    overflow: hidden;
  }
}

.tag-list {
  display: flex;
  flex-wrap: wrap;

  .tag-cell {
    border: 1Px solid #ddd;
    padding: 10px;
    margin-right: 20px;
    margin-bottom: 10px;
  }

  .tag-active {
    border-color: $color-danger;
    background-color: $color-danger;
    color: #ffffff;
  }
  .disabled {
    border-color: #eee;
    border-style: dotted;
    color: #999;
  }
}

.number-component {
  display: flex;
  float: left;
  border: 1px solid #ddd;
  justify-content: center;

  .number-btn {
    display: inline-block;
    padding: 0 20px;
    height: 60px;
    line-height: 60px;
  }

  Input {
    text-align: center;
    width: 80px;
    height: 60px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }
}

.cart-model-wrap{
  height: calc(100% - 100px)!important;
  .layout-header{
    display: none;
  }
  .layout-body{
    padding: 0!important;
  }

}

.sc-input-number{
  border-color: #eeeeee!important;
  .at-input-number__input{
    border-color: #eeeeee!important;
  }
  .at-input-number__btn{
    color: #333333;
  }
}


.comment-panel {
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #ffffff;
  padding: 0 20px;
  .comment-panel-header {
    padding: 30px 0;
    overflow: hidden;
    font-size: 28px;
    color: #212121;
    .pull-right {
      float: right;
      color: #d33e2a;
      font-size: 24px;
    }
  }
}


.comment-list {
  .li {
    padding: 20px;
    .user-box {
      display: flex;
      align-items: center;
      .avatar-img {
        margin-right: 20px;
      }
      .avatar-name {
        vertical-align: middle;
        font-size: 22px;
        color: #6f6f6f;
        margin-right: 20px;
      }
      .date{
        font-size: 22px;
        color: #6f6f6f;
        flex: 1;
        text-align: right;
      }
    }
    .comment-body {
      padding-top: 20px;
      font-size: 24px;
    }
    .img-wrap {
      margin-top: 20px;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      Image {
        width: 130px;
        height: 130px;
        background-size: cover;
        background-position: center;
        margin-right: 10px;
        margin-bottom: 10px;
      }
    }
  }
}
.disc{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 24px;
  color: #999999;
  padding: 20px 0;
  text-shadow: 1Px 1Px 0 #fff;
}
